/**
 * @ClassName LC1037
 * @Author ykx
 * @Date 2024/7/4 22:53
 * @Version 1.0
 */
public class LC1037 {
    public static void main(String[] args) {

    }

    public boolean isBoomerang(int[][] points) {
        int[] v1 = {points[1][0] - points[0][0], points[1][1] - points[0][1]};
        int[] v2 = {points[2][0] - points[0][0], points[2][1] - points[0][1]};
        return v1[0] * v2[1] - v1[1] * v2[0] != 0;

    }

}
